import React from 'react';
import ReactDOM from 'react-dom/client';
//样式初始化
import 'reset-css';

//引入全局样式
import './assets/styles/global.less';

import App from './App';

import { Provider } from 'react-redux';
import store from './store';
import { BrowserRouter } from 'react-router-dom';
ReactDOM.createRoot(document.getElementById('root')!).render(
  <React.StrictMode>
    <Provider store={store}>
      <BrowserRouter>
        <App />
      </BrowserRouter>
    </Provider>
  </React.StrictMode>
);
